org.eclipse.vtp.framework.core
Interface IActionResult


public interface IActionResult

Represents the result of an action.

Author:
Lonnie Pryor

Field Summary
static java.lang.String RESULT_NAME_ABORT
          The name of the global result that will abort the process.
static java.lang.String RESULT_NAME_DEFAULT
          The name of the global result that will take the default path.
static java.lang.String RESULT_NAME_ERROR
          The name of the global result that represents an internal error.
static java.lang.String RESULT_NAME_REPEAT
          The name of the global result that will execute the same action again.
 
Method Summary
 java.lang.Throwable getFailureCause()
          Returns the cause of the failure if this result path represents a failure, otherwise returns null.
 java.lang.String getName()
          Returns the name of this action result.
 

Field Detail

RESULT_NAME_ERROR

static final java.lang.String RESULT_NAME_ERROR
The name of the global result that represents an internal error.

See Also:
Constant Field Values

RESULT_NAME_ABORT

static final java.lang.String RESULT_NAME_ABORT
The name of the global result that will abort the process.

See Also:
Constant Field Values

RESULT_NAME_DEFAULT

static final java.lang.String RESULT_NAME_DEFAULT
The name of the global result that will take the default path.

See Also:
Constant Field Values

RESULT_NAME_REPEAT

static final java.lang.String RESULT_NAME_REPEAT
The name of the global result that will execute the same action again.

See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Returns the name of this action result.

Returns:
The name of this action result.

getFailureCause

java.lang.Throwable getFailureCause()
Returns the cause of the failure if this result path represents a failure, otherwise returns null.

Returns:
The cause of the failure if this result path represents a failure.